package com.zh.authresource.controller;

import lombok.Data;

import java.io.Serializable;
import java.util.UUID;

@Data
public class Category implements Serializable {
    private String id;
    private String name;
    private String remark;

    public Category() {
    }
    public Category(String name, String remark) {
        this.id = UUID.randomUUID().toString().substring(24);
        this.name = name;
        this.remark = remark;
    }
}
